package fpt.edu.vn.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/* 
 * Topicimages.java
 *  
 * 0.1
 * 
 * 10/15/2012 
 *  
 * Copyright notice 
 *  
 * Modification Logs: 
 *   DATE        AUTHOR      DESCRIPTION 
 *  -------------------------------------------------------- 
 *  15-Oct-2012  ThuongND    Create new 
 */
@Entity
@Table(name = "fsh_topicimages")
public class Topicimages implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int topicImageId;

	private int topicId;

	private String path;

	@Id
	@GeneratedValue
	@Column(name = "TopicImageId")
	public int getTopicImageId() {
		return topicImageId;
	}

	public void setTopicImageId(int topicImageId) {
		this.topicImageId = topicImageId;
	}

	@Column(name = "TopicId")
	public int getTopicId() {
		return topicId;
	}

	public void setTopicId(int topicId) {
		this.topicId = topicId;
	}

	@Column(name = "Path")
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}
